package com.goldsprite.gsgengine.core.components;
import com.goldsprite.utils.math.Vector2;

import java.util.ArrayList;
import java.util.List;

// Transform 组件示例
public class Transform extends Component {
	public Transform parent;
	public List<Transform> children = new ArrayList<>();
	private final Vector2 position = new Vector2();
	private final Vector2 scale = new Vector2();

	public Vector2 getPosition(){ return position; }

	public Vector2 getScale(){ return scale; }
}
